﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace T.FAS.Runtime.Action.ExpressionPlugin
{
    /// <summary>
    /// 应用调试返回结果类
    /// </summary>
    [Serializable]
    [DataContract]
    public class AppDebugResponse : EventArgs
    {
        /// <summary>
        /// 构造函数
        /// </summary>
        public AppDebugResponse()
        {
            data = string.Empty;
            errcode = string.Empty;
            state = "0";
            errmsg = string.Empty;
        }

        /// <summary>
        /// 返回数据
        /// </summary>
        [DataMember]
        public string data { get; set; }

        /// <summary>
        /// 异常码
        /// </summary>
        [DataMember]
        public string errcode { get; set; }

        /// <summary>
        /// 异常信息
        /// </summary>
        [DataMember]
        public string errmsg { get; set; }

        /// <summary>
        /// 状态  1-成功 0-失败
        /// </summary>
        [DataMember]
        public string state { get; set; }
    }
}
